import request from "@/utils/request";

// 查询全部商品类型
export function getAppPackageTypeList(query) {
  return request({
    url: "/app/getAppPackageTypeList",
    method: "get",
    params: query
  });
}

//   添加商品类型
export function addAppPackageType(data) {
  return request({
    url: "/app/addAppPackageType",
    method: "post",
    data,
  });
}


//   修改商品类型
export function updateAppPackageType(data) {
  return request({
    url: "/app/updateAppPackageType",
    method: "post",
    data,
  });
}


//   删除商品类型
export function deleteAppPackageType(data) {
  return request({
    url: "/app/deleteAppPackageType",
    method: "post",
    data,
  });
}
